import request from '@/utils/request'

export function listUser(params) {
  return request({
    url: '/userManage/list',
    method: 'get',
    params
  })
}

export function addUser(data) {
  return request({
    url: '/userManage/add',
    method: 'post',
    data
  })
}

export function updateUser(data) {
  return request({
    url: '/userManage/update',
    method: 'post',
    data
  })
}

export function deleteUser(data) {
  return request({
    url: '/userManage/delete',
    method: 'post',
    data
  })
}
